package com.syx.friend.Model.exam;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.syx.commoncore.Model.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("tb_exam")
public class Exam extends BaseEntity {
    @TableId(type = IdType.ASSIGN_ID)
    private Long examId;
    private String title;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    private Integer status;
}
